Skip to content

chore(deps): update Native SDK to v0.14.0#5365

Open
github-actions[bot] wants to merge 1 commit intomainfrom
deps/scripts/update-sentry-native-ndk.sh
Open

chore(deps): update Native SDK to v0.14.0#5365
github-actions[bot] wants to merge 1 commit intomainfrom
deps/scripts/update-sentry-native-ndk.sh

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 4, 2026

Bumps scripts/update-sentry-native-ndk.sh from 0.13.8 to 0.14.0.

Auto-generated by a dependency updater.

Changelog

0.14.0

Breaking / Important behavior changes:

  • Metrics are enabled by default. This behavior first appeared in 0.13.5 and is now documented as part of the 0.14.0 behavior. Applications that do not want to send metrics must explicitly opt out with sentry_options_set_enable_metrics(options, false). (#1609)
  • Structured logs are enabled by default. This behavior first appeared in 0.13.9 and is now documented as part of the 0.14.0 behavior. Applications that do not want to capture structured logs must explicitly opt out with sentry_options_set_enable_logs(options, false). (#1673)

0.13.9

Features:

  • Enable structured logs by default; logs are now opt-out via sentry_options_set_enable_logs(options, false). (#1673)
  • Crashpad: add macOS support for the crashpad_wait_for_upload flag. (#1679, crashpad#152)
  • Add experimental support for large attachment uploads, opt-in via sentry_options_set_enable_large_attachments. (#1545)

Fixes:

  • Fix event ownership (potential double-decref) in sentry_capture_minidump. (#1669)
  • Guard against internal stringbuilder append and reserve size overflows. (#1672)
  • Preserve attachments added during crash handling (#1687)
  • Fix build-time warnings with C++ builds. (#1671)
  • Native: respect the shutdown_timeout option in the daemon. (#1691)

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-sentry-native-ndk.sh branch from 6848c11 to e6718b8 Compare May 4, 2026 12:35
@github-actions github-actions Bot requested a review from adinauer as a code owner May 4, 2026 12:35
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label May 4, 2026
@github-actions github-actions Bot requested review from markushi and romtsn as code owners May 4, 2026 12:35
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-sentry-native-ndk.sh branch from e6718b8 to 3619d7f Compare May 4, 2026 12:35
Comment thread gradle/libs.versions.toml
retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" }
retrofit-gson = { module = "com.squareup.retrofit2:converter-gson", version.ref = "retrofit" }
sentry-native-ndk = { module = "io.sentry:sentry-native-ndk", version = "0.13.8" }
sentry-native-ndk = { module = "io.sentry:sentry-native-ndk", version = "0.14.0" }
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The native layer does not respect the Java SDK's options.getMetrics().setEnabled(false) setting, causing metrics to be sent even when disabled.
Severity: MEDIUM

Suggested Fix

Update the SentryNdk.init() method to read the options.getMetrics().isEnabled() value from the Java options. Pass this boolean to the native layer during its initialization to ensure the native SDK's metrics configuration is synchronized with the Java SDK's setting.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: gradle/libs.versions.toml#L154

Potential issue: The Java SDK does not propagate the metrics enabled/disabled setting to
the native (NDK) layer. With the update to `sentry-native` SDK v0.14.0, which enables
metrics by default, users who disable metrics in the Java SDK via
`options.getMetrics().setEnabled(false)` will still have the native layer sending them.
The `SentryNdk.init()` method does not pass the Java-level setting to the `NdkOptions`,
causing the user's configuration to be ignored for native events.

Did we get this right? 👍 / 👎 to inform future reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant